package com.tender.dto;

import com.alibaba.fastjson.JSON;
import com.tender.common.Result;
import lombok.Data;

import javax.management.monitor.StringMonitor;
import java.io.Serializable;

@Data
public class LoginDTO implements Serializable {

    private Long userId;

    private String username;

    // TODO

    public static void main(String[] args) {
        Result<String> result = Result.success();
        result.setData("success");
        System.out.println(JSON.toJSONString(result));
    }

}
